﻿using Avalonia.Controls;
using Avalonia.Interactivity;
using WeatherCore.App.Views;

namespace WeatherCore.App.Pages;

public partial class HomeView : UserControl
{
    public HomeView()
    {
        InitializeComponent();
    }

    private void LookClick(object? sender, RoutedEventArgs e)
    {
        var window = ViewServes.GetView<MainWindow>(this);
        window?.Navigate("Weather");
    }
}